<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<script type="text/javascript" src="jquery-1.7.2.min.js"></script>
	<title></title>
	<style type="text/css">
	body{
		height: 2000px;
	}
	.gd{
		width: 100px;
		height: 200px;
		background: purple;
		position: fixed;
		left: 0;
		top: 150px;
	}
	.gd span{
		position: absolute;
		right: 0;
		top: 0;
		cursor: pointer;
	}
	</style>
	<script type="text/javascript">
		$(document).ready(function(){
		  $("#span").click(function(){
		  $("#gd_").hide();
		  });
		});




	// 给span添加单击关闭效果
		/*window.onload = function(){
			var a = document.getElementById('gd_');
			document.getElementById('span').onclick=function(){
				a.style.display='none';
				
			}
		}*/
	</script>
</head>
<body>
	<div class="gd" id="gd_">
		<span id="span"><img src="close.jpg" alt="" /></span>
	</div>

	
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"1","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"5","bdPos":"right","bdTop":"101.5"},"image":{"viewList":["tsina","tqq","renren","weixin","qzone"],"viewText":"分享到：","viewSize":"24"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["tsina","tqq","renren","weixin","qzone"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
</body>
</html>